package cn.sh.library.gmwx.controller;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/_")
public class TenantController extends BaseController {

    @ResponseBody
    @RequestMapping(value = "/tenant", method = RequestMethod.POST)
    public String tenant(HttpServletResponse response){
    	response.setHeader("Content-Type", "application/json");
        //content-type为application/x-json;charset=UTF-8
        response.setStatus(200);
        return "{}";
    }
}
